<!DOCTYPE html>
<html>
<head>
   <link href="build/classic/theme-classic/resources/theme-classic-all.css" rel="stylesheet" />
   <script type="text/javascript" src="build/ext-all.js"></script>
   <script type="text/javascript">

       Ext.onReady(function () {
         Ext.define('User', {
         extend: 'Ext.data.Model',
         fields: ['id', 'name', 'age']
         });

         //The Store contains the AjaxProxy as an inline configuration
         var store = Ext.create('Ext.data.Store', {
             model: 'User',
             proxy: {
                 type: 'ajax',
                 url : 'http://localhost:3000/users'
             }
         });

         store.load(function(users){
            alert(users[0].id);
         });
      });
   </script>
</head>
<body>
   <div id="helloWorldPanel"></div>
</body>
</html>